Skip to content

Conversation

@jdufresne
Copy link
Contributor

The function ajaxForm() rejects the fetch promise when the response is
not a 200, so we can assume that if the code is being executed a 200 was
returned.

In the event a 200 is returned, the requests attribute is always a
JavaScript Array.

The function ajaxForm() rejects the fetch promise when the response is
not a 200, so we can assume that if the code is being executed a 200 was
returned.

In the event a 200 is returned, the requests attribute is always a
JavaScript Array.
@codecov
Copy link

codecov bot commented Oct 11, 2020

Codecov Report

Merging #1380 into master will decrease coverage by 0.19%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1380      +/-   ##
==========================================
- Coverage   87.83%   87.64%   -0.20%     
==========================================
  Files          29       29              
  Lines        1578     1578              
  Branches      222      222              
==========================================
- Hits         1386     1383       -3     
- Misses        141      144       +3     
  Partials       51       51              
Impacted Files Coverage Δ
debug_toolbar/panels/profiling.py 86.60% <0.00%> (-2.68%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9119982...1206941. Read the comment docs.

@matthiask matthiask merged commit 0644d0e into django-commons:master Oct 15, 2020
@matthiask
Copy link
Member

Makes sense, thanks!

@jdufresne jdufresne deleted the unnecessary-guard branch October 15, 2020 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants